<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script>
			alert("hello b");//第一个运行
		</script>
	</head>
	<body onload="alert('为什么用单引号')">
		
		<div onclick="alert('a是多少')">
			onclick~
		</div>
		
		<div id="test1">
			方法调用，单机弹出提示信息
		</div>
		
		<script>
			//alert()提示框
			alert("hello a");//第二个运行
			
			test1.onclick = function(){
				alert("方法调用成功");
			}
		</script>
		
		
		<div>
			
		</div>
		<script>
			
			var i =true;
			alert(typeof i);
			var i1 = 1;
			alert(tpeof i1);
			var i2 = "1222";
			alert(tpeof i2);
			var i3 = null;
			alert(tpeof i2);
			var i4 = 45+"a";
			var i5 = 23+false;
			var i6 = true+"a";
			alert(i,i1,i2,i3,i4,i5,i6);
			
		</script>
		
	</body>
</html>
